<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title></title>
    <script type="text/javascript" src="o.js" charset="utf-8"></script>
</head>

<body>
</body>
<script>


function Human(){
    
	/*@@-FirstName-
        type:TEXT,
        default:John,
        label: prénom
    @@*/
	this.FirstName = "John";
    /*@@-LastName-
        type:TEXT,
        default:Doe,
        label : nom
    @@*/
	this.LastName = "Doe";

	this.Human = function(){
		console.log("Human constructor");
		if(arguments.length==2){
			this.FirstName = arguments[0];
			this.LastName = arguments[1];
		}
	}

	this.toString = function(){
        return this.FirstName+" "+this.LastName+" | "+this.getTypeName();
    }
}


console.log(mu(Human).getAnnotations());

//console.log(mu(Human).getAnnotations());
//console.log(mu(Human).getAnnotation("FirstName"));



</script>
</html>